package com.yc.cloud.common.websocket.core;

public interface SocketMessage {

    String GET_ONLINE_USERS = "getOnLineUsers";
    String USER_CONNECTED = "userConnected";
    String USER_DIS_CONNECTED = "userDisConnected";

    String SYNC_ONLINE_USERS = "syncOnLineUsers";

    String SEND_SINGLE_MESSAGE = "sendSingleMessage";
    String SEND_ROOM_MESSAGE = "sendRoomMessage";
    // 接收单聊消息
    String RECEIVE_SINGLE_MESSAGE = "receiveSingleMessage";

    String GET_SERVER_TIME = "getServerTime";

    // 接收房间消息
    String RECEIVE_ROOM_MESSAGE = "receiveRoomMessage";
}
